package com.visionblue.business.ship.model.bean.response

/**
 * @author: xlh
 * @date: 2020-04-10 3:05 PM
 * @desc:
 */
data class CommonResponse<T>(
    var code: String? = null,
    var msg: String? = null,
    var data: T
) {
    fun isSuccess() = code == RESULT_OK


    companion object {
        private const val RESULT_OK = "200"
    }
}